<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<table class="display" id="example">
	<thead>
		<tr>
			<th>对象</th>
			<th>权重</th>
			<th>设置</th>
		</tr>
	</thead>
	<tbody>
		<s:if
			test="#request.assessWeights==null || #request.assessWeights.size<=0">
			<tr class="gradeA">
				<td colspan="3">暂无数据</td>
			</tr>
		</s:if>
		<s:else>
			<s:iterator var="weight" status="sta" value="#request.assessWeights">
				<s:if test="#sta.even">
					<tr class="gradeA">
				</s:if>
				<s:else>
					<tr class="gradeC">
				</s:else>
				<td>${weight.title}</td>
				<td><div class="progress" id="progress1">
						<span style="width: ${weight.percent}%;"><b>${weight.percent}%</b></span>
					</div></td>
				<td><a class="button" href="javascript:void(0)"><span
						style="background: url(${ctx}/images/img/report_edit.png)"
						class="icon icon-ok">&nbsp;</span>设置</a></td>
				</tr>
			</s:iterator>
		</s:else>
	</tbody>
</table>
<p>
	<%@ include file="/WEB-INF/pages/common/main_orgtab_pager_train.jsp"%>
</p>